//
//  DocumentViewController.h
//  FMS
//
//  Created by Steven on 10/15/13.
//  Copyright (c) 2013 QGSVN. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIScrollDocument.h"
#import "AsynImageButton.h"

@interface DocumentViewController : UIViewController <UINavigationControllerDelegate,UIPopoverControllerDelegate,UIImagePickerControllerDelegate>{
    UIScrollDocument *scrollDocument;
    NSMutableArray *documentArray;
    
    UIPopoverController *popController;
    UIImagePickerController* imagePickerController;
    
    NSDictionary *dictLanguage;
    int itemType;
    
    UIActivityIndicatorView *myActivityView;
}

@property (unsafe_unretained) id parent;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil itemType:(int)_itemType parent:(id)_parent;
- (void) didSelectPhoto:(AsynImageButton*)sender;
- (void) deleteItemDocument:(AsynImageButton*)_sender;
- (void) listDocumentsByItem;
@end
